import com.bolt.auth.security.common.annotation.EnableClientResourceServer;
import com.bolt.auth.security.common.feign.GolbalFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.bolt"})
@EnableFeignClients(defaultConfiguration = GolbalFeignConfig.class,basePackages="com.bolt.auth.admin.api.feign")
@EnableClientResourceServer
public class AuthServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthServerApplication.class, args);
    }

}

 